package com.qst.mapper;

import com.qst.entity.Choice;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ChoiceMapper {

    List<Choice> findByQuestion(Integer id);

    void insert(Choice ch);

    void update(Choice ch);

    void deleteByQuestion(int questionId);
}
